<?php

use Faker\Generator as Faker;

$factory->define(App\Usera::class, function (Faker $faker) {
    return [
        'phone' => $faker->PhoneNumber,
        'open_id' => str_random(10),
        'password' => $faker->password,
        'background_picture' => $faker->url,
        'head_portrait' => $faker->url,
        'tag_id' => $faker->unique(),
        'gender' => $faker->sex,
        'study' => $faker->study,
        'major' => $faker->major,
        'education' => $faker->education,
        'graduation_date' => $faker->graduation_date,
        'mail' => $faker->email,
        'integral' => $faker->integral,

    ];
});
